﻿namespace TestTool.Proxies.Onvif
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Xml;
    using System.Xml.Serialization;

    [Serializable, DesignerCategory("code"), GeneratedCode("svcutil", "3.0.4506.2152"), DebuggerStepThrough, XmlType(Namespace="http://www.onvif.org/ver10/schema")]
    public class RecordingJobSource
    {
        private XmlAttribute[] anyAttrField;
        private bool autoCreateReceiverField;
        private bool autoCreateReceiverFieldSpecified;
        private RecordingJobSourceExtension extensionField;
        private SourceReference sourceTokenField;
        private RecordingJobTrack[] tracksField;

        [XmlAnyAttribute]
        public XmlAttribute[] AnyAttr
        {
            get
            {
                return this.anyAttrField;
            }
            set
            {
                this.anyAttrField = value;
            }
        }

        [XmlElement(Order=1)]
        public bool AutoCreateReceiver
        {
            get
            {
                return this.autoCreateReceiverField;
            }
            set
            {
                this.autoCreateReceiverField = value;
            }
        }

        [XmlIgnore]
        public bool AutoCreateReceiverSpecified
        {
            get
            {
                return this.autoCreateReceiverFieldSpecified;
            }
            set
            {
                this.autoCreateReceiverFieldSpecified = value;
            }
        }

        [XmlElement(Order=3)]
        public RecordingJobSourceExtension Extension
        {
            get
            {
                return this.extensionField;
            }
            set
            {
                this.extensionField = value;
            }
        }

        [XmlElement(Order=0)]
        public SourceReference SourceToken
        {
            get
            {
                return this.sourceTokenField;
            }
            set
            {
                this.sourceTokenField = value;
            }
        }

        [XmlElement("Tracks", Order=2)]
        public RecordingJobTrack[] Tracks
        {
            get
            {
                return this.tracksField;
            }
            set
            {
                this.tracksField = value;
            }
        }
    }
}

